package com.csj.DesignPattern.adapter.abstractAdapter;

public class Client {

    public static void main(String[] args) {
        Computer computer = new Computer();
        SDAdapterTFImpl sdAdapterTF = new SDAdapterTFImpl(new TFCardImpl());
        //sdAdapterTF中只有readSD功能，隐藏了writeSD功能(不需要的功能)
        System.out.println(computer.readSD(sdAdapterTF));
    }
}
